home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0068.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  914 b   |  29 lines

  1. In WAISGate.c (part of the WAIS/WWW gateway in the Daemon distribution)
  2. there's a little hunk of code that says basically
  3.  
  4.     pick up the doctype of the document
  5.     if it's WSRC (a WAIS source),
  6.         it's an index description file,
  7.         parse the WSRC
  8.     else
  9.         it's a plain text document,
  10.         send it as a straight text file
  11.  
  12. It strikes me as a reasonable idea to extend this to put in another
  13. case that says
  14.     if it's HTML
  15.         it's an HTML file,
  16.         send it with no extra parsing
  17.  
  18. If can agree that this is a reasonable thing to do, then I'll make
  19. the necessary changes to "waisindex" to index up the html files I've
  20. written to date and serve them up.  
  21.  
  22. --
  23. Edward Vielmetti, vice president for research, MSEN Inc. emv@msen.com
  24.       MSEN Inc., 628 Brooks, Ann Arbor MI  48103 +1 313 741 1120
  25. "Not to panic.  Networking will eventually get to Michigan.  Remember
  26.  the decades it took IBM to discover virtual memory."  Randy Bush
  27.  
  28.  
  29.